home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-04-27 | 575 b | 32 lines |
- #
- # Makefile for Sun OS 4.0.3
- # half the tests can be done because there are no ANSI libs
- #
- SRC = tatof.c tbcopy.c tctype.c tprintf.c tqsort.c trandm.c trdwr.c \
- tscanf.c tsetjm.c tsignl.c tstdio.c
-
-
- .SUFFIXES: .ttp
-
- .c.ttp:
- $(CC) $(CFLAGS) -o $*.ttp $*.c strerror.o
-
- CC= gcc
- CFLAGS = -O2 -g -D_BSD
-
- ALL = $(SRC:.c=.ttp)
-
- all : $(ALL)
-
- $(ALL) : strerror.o
-
- # writable strings needed for tstdio for sscanf() in sr_test()
- tstdio.ttp: tstdio.c
- $(CC) $(CFLAGS) -fwritable-strings -o tstdio.ttp tstdio.c
-
- clean:
- rm -f *.o
-
- realclean: clean
- rm -f $(ALL) core report clean
-